<style>
.fe-floatright-bottom .icon {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 100%;
    color: #fff;
    line-height: 1.6rem;
}
</style>
<div class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="margin:0.5rem;">
					<div class="memlogo-area" style="background: #55bd47;">
						<div class="bold name">
						第{{pagedata.team.paixu}}仓
						</div>
						<br>
						<div class="name bold">可建{{pagedata.team.jian_num}}{{pagedata.pluginset.y_title}}</div>
						<div class="code" style="margin-top: -1rem;">
							<div class="jylabel jylabel-info" href="javascript:;" ng-click="access_json('jy_mjicai/canlog//')" style="border: 1px solid #fff;color:#fff;">我参与的</div>
						</div>
						<div class="bot">
							<div class="jy-2">
							<h4 href="javascript:;">已建{{pagedata.pluginset.y_title}}</h4>
							<h3 style="margin-top:0">{{pagedata.team.isnum || 0.00}}个</h3>
							</div>
							<div class="jy-2">
							<h4 href="javascript:;">总投入积分</h4>
							<h3 style="margin-top:0">{{pagedata.team.isfee || 0.00}}个</h3>
							</div>
						</div>
					</div>
			</div>
			<div style="padding:0 0.5rem">
			<div class="fui-tab fui-tab-danger">
				<a ng-class="{'external active':pagedata.params.status == '0'}" href="javascript:" ng-click="pagedata.params.status='0';tool.get_list('jy_mjicai/detail/getlist/',true);">可排单</a>
				<a ng-class="{'external active':pagedata.params.status == '3'}" href="javascript:" ng-click="pagedata.params.status='3';tool.get_list('jy_mjicai/detail/getlist/',true);">已停建</a>
				<a ng-class="{'external active':pagedata.params.status == '1'}" href="javascript:" ng-click="pagedata.params.status='1';tool.get_list('jy_mjicai/detail/getlist/',true);">已完成</a>
			</div>
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="fui-list goods-item" ng-repeat="item in pagedata.list">
					<div class="fui-list-inner">
						<div class='bold'>{{item.title}} <span ng-if="item.status==1" ng-click="pagedata.nowitem=item;pagedata.post.yaoid=item.id;pagedata.showbuy=true;" class="jylabel jylabel-success">立即参与</span></div>
						<div class='title'>建{{pagedata.pluginset.y_title}}总积分{{item.alljifee}}</div>
						<div class="progress" style="margin:5px 3px;height:0.3rem;border-radius:0.05rem;">
								<div class="progress-bar" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="width: {{item.israte || 1}}%;background-color:#3ae0ab;"><span class="sr-only">60% Complete</span></div>
						</div>
						<div class='title'>
							<span class="label label-success">已排单{{item.isfee || 0}}积分</span>
							<span class="red" style="margin-left:0.3rem;font-size:0.6rem"> 已完成{{item.israte}}%</span>
						</div>
						<div class='gray' style="font-size:0.55rem">
						排单时间：{{item.startime}}-{{item.endtime}}
						</div>
						
					</div>
					<div class='fui-list-angle' style="font-size:0.6rem">
							<div class="label label-success">{{item.statustitle}}</div>
							<div class='title'>建设数量{{item.jian_jinmin}}-{{item.jian_jinmax}}积分</div>
							<div class='title'>排单收益{{item.jian_getrate}}%</div>
							<div class='title'>{{item.startime}}开抢</div>
					</div>
				</div>
			</div>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
	</div>
</div>
<div ng-if="pagedata.showbuy" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:{{main.syscolor || '#63BE72'}}">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showbuy=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 1rem;padding-top:0.5rem;background:{{main.syscolor || '#63BE72'}}">
				<div class='fui-cell-title c' style="color:#fff">您正在进行“排单建仓”操作
				</div>
				<!--<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'>选择投入币种</div>
					<div class='fui-cell-info'>
						<div class="jylabel jylabel-switch-label">
								<span ng-class="{'jylabel-switch':1,'active':pagedata.post.jian_feetype==1}" ng-click="pagedata.post.jian_feetype=1;">{{pagedata.pluginset.jian_feetypetitle || 'R币'}}</span>
								<span ng-class="{'jylabel-switch':1,'active':pagedata.post.jian_feetype!=1}" ng-click="pagedata.post.jian_feetype=0;">建仓券</span>
						</div>
					</div>
				</div>-->
				<div class="c" style="color:#fff;font-size:0.55rem;margin-top:-0.3rem">
						建仓券可投入最大额度：{{pagedata.nowitem.jian_jinmax}}
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-jifen"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="要投入{{pagedata.post.jian_feetype==1?pagedata.pluginset.jian_feetypetitle:'建仓券'}}额度" ng-model="pagedata.post.jifen"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:{{main.syscolor || '#63BE72'}}" ng-click="post(pagedata.post,'post')">确认提交</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.geturl='jy_mjicai/detail/getlist/'
scope.tool.get_list(scope.pagedata.geturl,true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list(scope.pagedata.geturl);
}
</script>